[fix](sc) Skip empty rowset version hole filling for versions <= alter_version#56209
Merged
liaoxin01 merged 1 commit intoapache:masterfrom Sep 19, 2025
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 1476 ms |
TPC-DS: Total hot run time: 2785 ms |
ClickBench: Total hot run time: 0.06 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
luwei16
approved these changes
Sep 19, 2025
liaoxin01
added a commit
to liaoxin01/doris
that referenced
this pull request
Sep 19, 2025
…r_version (apache#56209) **Schema change and version hole handling:** * Improved the logic in `CloudMetaMgr::fill_version_holes` to selectively skip filling version holes for schema change tablets (`TABLET_NOTREADY` state) when the version is less than or equal to `alter_version`. This prevents abnormal compaction scores and unexpected errors during schema changes, allowing the process to proceed smoothly. * In `CloudSchemaChangeJob::_process_delete_bitmap`, modified the handling of rowsets during schema change jobs to retain only the [0-1] version rowset and set the `alter_version` for the temporary tablet, ensuring that hole rowsets are only filled for versions greater than `alter_version`.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Schema change and version hole handling:
CloudMetaMgr::fill_version_holesto selectively skip filling version holes for schema change tablets (TABLET_NOTREADYstate) when the version is less than or equal toalter_version. This prevents abnormal compaction scores and unexpected errors during schema changes, allowing the process to proceed smoothly.CloudSchemaChangeJob::_process_delete_bitmap, modified the handling of rowsets during schema change jobs to retain only the [0-1] version rowset and set thealter_versionfor the temporary tablet, ensuring that hole rowsets are only filled for versions greater thanalter_version.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)